package com.wangsh.splider.system.pojo;

public enum ASysProEnum
{

	/**
	 * 枚举项 STATUS_ENABLE:变量名,数据库中的字段名+含义名 "启用":字符串描述 1:值
	 */
	STATUS_ENABLE("启用", Byte.valueOf("1")), 
	STATUS_DISABLE("禁用", Byte.valueOf("0")),
	
	/*类型:0:默认,1:支付方式*/
	PROTYPE_ORDINARY("普通",Byte.valueOf("0")),
	PROTYPE_JSON("支付方式",Byte.valueOf("1")),

	OPERTYPE_EQUAL("=",Byte.valueOf("0")),
	OPERTYPE_GREATERTHAN(">",Byte.valueOf("1")),
	OPERTYPE_LESSTHAN("<",Byte.valueOf("2")),
	OPERTYPE_NOTLESS(">=",Byte.valueOf("3")),
	OPERTYPE_NOTGREATER("<=",Byte.valueOf("4"));
	
	/* 值 */
	private String name;
	private byte status;

	ASysProEnum(String name, byte status)
	{
		this.name = name;
		this.status = status;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public byte getStatus()
	{
		return status;
	}

	public void setStatus(byte status)
	{
		this.status = status;
	}

}
